﻿<%@ Page Language="C#" MasterPageFile="~/GUI/SiteMasterPage.Master" AutoEventWireup="true" CodeBehind="Upload.aspx.cs" Inherits="wdss.GUI.Upload" Title="Upload" %>
<asp:Content ID="Content2" ContentPlaceHolderID="content1" runat="server">
<br /><br />
    <table align =center>
	    <tr>
	    <td>
	    <asp:Label ID = welcome_lbl runat =server Font-Names = "Arial Rounded MT Bold" 
	    ForeColor ="white" Text="Welcome" Font-Size="20px"></asp:Label>
	    </td>
	    <td>
	    <asp:Label ID = username_lbl runat =server Font-Names = "Arial Rounded MT Bold" 
	    ForeColor ="white" Text="" Font-Size="20px"></asp:Label>
	    </td>
	    <td>
	    <asp:Label ID = sym_lbl runat =server Font-Names = "Arial Rounded MT Bold" 
	    ForeColor ="white" Text="...!" Font-Size="20px"></asp:Label>
	    </td>
	    </tr></table>
	    <br />
    <form id="UploadDocument" method="post" enctype="multipart/form-data">
    
    
    <asp:Label ID="Label1" runat="server" Text="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Upload Documents" Font-Bold="True" 
        Font-Names="Arial Rounded MT Bold" Font-Size="XX-Large" ForeColor="White"></asp:Label>
    <br />
    <br />
    
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <table align=center border=2>
    <tr>
    <td align= left><asp:Label ID="doc_name_lbl" Text="Document Name" ForeColor="White" 
                runat=server Font-Names="Arial Rounded MT Bold"></asp:Label>
    </td>
        <td>
        <asp:TextBox ID="txt_fileName" runat="server" MaxLength="50" Width="215px"></asp:TextBox>
        </td>
        </tr>
        <tr>
        <td align=left>
            <asp:Label ID="Label2" Text="Select File" ForeColor="White" 
                runat=server Font-Names="Arial Rounded MT Bold"></asp:Label>
        </td>
        <td>
        <asp:FileUpload ID="FileUploadPath" runat="server" />
        </td>
        </tr>
        <tr>
            
            <td>
                <asp:Label ID="lbl_Error" runat="server" ForeColor="Red" Visible="false" />
                <asp:Label id="lbl_Success" runat="server" Visible="false" Text="Successfully uploaded a document." ForeColor="White" 
                Font-Names="Arial Rounded MT Bold"/>
            </td>
            <td align=right>
                <asp:Button ID="btn_Upload" Text="Upload" runat=server BackColor="#14263A" 
                BorderStyle="Outset" Font-Names="Arial Rounded MT Bold" ForeColor="White" 
                 OnClick="Upload_Button_Click" />
            </td>
        </tr>
        
        
        </table>
    </div>
    </form>
</asp:Content>
<asp:Content ID="Content3" runat="server" contentplaceholderid="footer">
    <br />
    <br />
     <div class="rns_footer">
        RNS Institute of Technology
     </div>
    
</asp:Content>

